package com.platform.dao;

import com.platform.base.BaseMapper;
import com.platform.pojo.Role;

import java.util.List;
import java.util.Map;

public interface RoleMapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Map> selectByParamMap(Map param);

    int countNumsByRoleCode(String roleCode);

}